/*
 * @Author: wuqiang
 * @Date: 2021-03-11 13:43:21
 * @LastEditors: wuqiang
 * @LastEditTime: 2023-11-15 22:06:52
 */
import { lazy } from 'react'
import { huijunRoutes } from './huijun';

const Index = lazy(() => import(/* webpackChunkName: "Index" */ '@/pages/index'))
const About = lazy(() => import(/* webpackChunkName: "About" */ '@/pages/about'))
const Detail = lazy(() => import(/* webpackChunkName: "Detail" */ '@/pages/detail'))

export interface RouteConfig {
  path: string
  component?: any
  exact?: boolean
}

export const routes: RouteConfig[] = [
  // {
  //   path: '/index',
  //   component: Index,
  //   exact: true
  // },
  // {
  //   path: '/about',
  //   component: About,
  //   exact: true
  // },
  // {
  //   path: '/detail',
  //   component: Detail,
  //   exact: true
  // },
  ...huijunRoutes,
]
